package cn.edu.zut.sunday.news.service.impl;

import cn.edu.zut.sunday.base.service.impl.GenericServiceImpl;
import cn.edu.zut.sunday.news.dao.NewsCategoryRepository;
import cn.edu.zut.sunday.news.domain.NewsCategory;
import cn.edu.zut.sunday.news.service.NewsCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NewsCategoryServiceImpl extends GenericServiceImpl<NewsCategory, Integer>
  implements NewsCategoryService {
    @Autowired
    public void setNewsCategoryRepository(NewsCategoryRepository newsCategoryRepository){
        this.dao = newsCategoryRepository;
    }
}
